package fun.hijklmn.magic.admin.server.service;

import fun.hijklmn.magic.admin.common.pojo.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import fun.hijklmn.magic.admin.common.vo.req.PermissionReqVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zsl
 * @since 2021-06-25
 */
public interface PermissionService extends IService<Permission> {

    /**
     * 保存权限
     * @param permissionReqVO
     * @return
     */
    Permission save(PermissionReqVO permissionReqVO);

    /**
     * 删除权限
     * @param permissionId
     */
    void delete(String permissionId);

}
